package com.thinkbig.datamining.decisiontree;

public class Util {
    
    public static String formatTree(TreeNode tn) {
        return formatTree(tn, 0);
    }

    public static String formatTree(TreeNode tn, int level) {
        StringBuilder sb = new StringBuilder();
        sb.append(MiscDecisionTree.TREE_HEAD + "\n");
        sb.append(MiscDecisionTree.TREE_START + "\n");
        return sb.toString();
    }
}
